package com.Bigbluebook.entity;

import java.util.Date;

public class Post {

    private int id;
    private User user;
    private String content;
    private String tag;
    private Date createdAt;

    public Post(User user, String content, String tag) {
        this.user = user;
        this.content = content;
        this.tag = tag;
    }

    public Post() {

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }
}